package com.linkhub.oms.common.enums.logistic;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.linkhub.oms.common.enums.IEnumConvert;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author Jaycle
 * @version 1.0.0
 * @Description LogisticEditStatusEnum.java
 * @createTime 2024/04/30 08:51
 */
@Getter
@AllArgsConstructor
public enum LogisticEditStatusEnum implements IEnumConvert<Integer> {
    ENABLE(1,"启用" ),

    DISABLE(0,"停用" );

    @EnumValue
    private final Integer type;
    private final String desc;


    @Override
    public Integer getCode() {
        return this.getType();
    }
}
